/* 缩减查询结果停驻在侧边栏时的页边距 */
/* .workspace-leaf-content  .markdown-preview-view .markdown-preview-section, */
.workspace-tabs .show-frontmatter{
    /* .workspace-leaf-content  .markdown-preview-view{ */
        padding: 0px;
    }
    
    .workspace-leaf-content .markdown-preview-section .dataview{
        margin: 0px;
    }
    .workspace-leaf-content .markdown-preview-section .dataview .table-view-thead{
        display: none;
    }
    /* 隐藏查询表头 */
    .workspace-leaf-content .dataview .table-view-tbody td{
        padding: 4px !important;
        min-width: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
        /* background-color: #000; */
    }
    .table-view-tbody td{
        border: solid rgba(121, 121, 121, 0.473) 1px !important;
    }
    /* 目录页笔记下方不留空 */
    .workspace-leaf-content .markdown-preview-section{
    /* .element.style{ */
        padding-bottom: 0px !important;
        /* min-height: 725px; */
    }
    /* 隐藏yaml区 */
    .markdown-preview-section .workspace-leaf-content .language-yaml{
        display: none;
    }
    /* 所有内链背景色为透明 */
    .dataview .internal-link{
        background-color: #00000000 !important;
    }
    /* 高亮标签 */
    /* 设置以=r.md结尾的文件背景色 */
    
    
    .theme-light .block-language-dataview a[href$="=r.md"]{
        background-color: rgb(255, 176, 176) !important;
    }
    .theme-light .block-language-dataview a[href$="=y.md"]{
        background-color: rgb(216, 219, 44) !important;
    }
    .theme-light .block-language-dataview a[href$="=g.md"]{
        background-color: rgb(149, 196, 149) !important;
    }
    .theme-light .block-language-dataview a[href$="=b.md"]{
        background-color: rgb(127, 155, 187) !important;
    }
    
    .theme-dark .block-language-dataview a[href$="=r.md"]{
        background-color: rgb(124, 44, 33) !important;
    }
    .theme-dark .block-language-dataview a[href$="=y.md"]{
        background-color: rgb(141, 133, 15) !important;
    }
    .theme-dark .block-language-dataview a[href$="=g.md"]{
        background-color: rgb(35, 112, 35) !important;
    }
    .theme-dark .block-language-dataview a[href$="=b.md"]{
        background-color: rgb(30, 63, 100) !important;
    }